package org.apache.commons.graph.algorithms.coloring.exception

import org.apache.commons.graph.GraphException

/**
 * Creates new instance of [NotEnoughColorsException].
 * @param colors the set of color.
 */
class NotEnoughColorsException(colors: Set<*>) :
    GraphException(String.format("Input color set %s has not enough colors to color the given graph", colors)) {
    companion object {
        private const val serialVersionUID = -8782950517745777605L
    }
}